package com.company.biz.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.company.user.entity.PositionEntity;
import com.company.user.req.AddPositionReq;
import com.company.user.req.UpdatePositionListByPositionIdReq;

import java.util.List;

public interface PositionService extends IService<PositionEntity> {

    boolean addPosition(AddPositionReq req);

    List<PositionEntity> getPositionListByDepartmentId(String departmentId);

    PositionEntity getPositionListByPositionId(String positionId);

    boolean updatePositionListByPositionId(UpdatePositionListByPositionIdReq req);

    boolean deletePositionByPositionId(String positionId);

}
